﻿@model IEnumerable<orienta.Models.ORIMaeDependencia>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            ORIMaeDependencia2
        </th>
        <th>
            ORIDetCompendio
        </th>
        <th>
            nCodDep
        </th>
        <th>
            vSigDep
        </th>
        <th>
            vBanSel
        </th>
        <th>
            dtFecIniVig
        </th>
        <th>
            dtFecFinVig
        </th>
        <th>
            dtFecReg
        </th>
        <th>
            ORIMaeUsuario
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ORIMaeDependencia2.vSigDep)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ORIDetCompendio.vCodElemento)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.nCodDep)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.vSigDep)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.vBanSel)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dtFecIniVig)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dtFecFinVig)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dtFecReg)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ORIMaeUsuario.vCodUsuario)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.nIdeDep }) |
            @Html.ActionLink("Details", "Details", new { id=item.nIdeDep }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.nIdeDep })
        </td>
    </tr>
}

</table>
